home *** CD-ROM | disk | FTP | other *** search
-
-
-
- llllRRRRGGGGBBBBrrrraaaa((((3333GGGG)))) llllRRRRGGGGBBBBrrrraaaa((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- llllRRRRGGGGBBBBrrrraaaa - sets the range of RGB colors used for depth-cueing
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee llllRRRRGGGGBBBBrrrraaaa((((rrrrmmmmiiiinnnn,,,, ggggmmmmiiiinnnn,,,, bbbbmmmmiiiinnnn,,,, rrrrmmmmaaaaxxxx,,,, ggggmmmmaaaaxxxx,,,, bbbbmmmmaaaaxxxx,,,, zzzznnnneeeeaaaarrrr,,,, zzzzffffaaaarrrr))))
- iiiinnnntttteeeeggggeeeerrrr****2222 rrrrmmmmiiiinnnn,,,, ggggmmmmiiiinnnn,,,, bbbbmmmmiiiinnnn,,,, rrrrmmmmaaaaxxxx,,,, ggggmmmmaaaaxxxx,,,, bbbbmmmmaaaaxxxx
- iiiinnnntttteeeeggggeeeerrrr****4444 zzzznnnneeeeaaaarrrr,,,, zzzzffffaaaarrrr
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _r_m_i_n expects the minimum value to be stored in the red bitplanes.
-
- _g_m_i_n expects the minimum value to be stored in the green bitplanes.
-
- _b_m_i_n expects the minimum value to be stored in the blue bitplanes.
-
- _r_m_a_x expects the maximum value to be stored in the red bitplanes.
-
- _g_m_a_x expects the maximum value to be stored in the green bitplanes.
-
- _b_m_a_x expects the maximum value to be stored in the blue bitplanes.
-
- _z_n_e_a_r expects the nearer screen z, to which the maximum colors are
- mapped.
-
- _z_f_a_r expects the farther screen z, to which the minimum colors are
- mapped.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- llllRRRRGGGGBBBBrrrraaaa sets the range of RGB colors used for depth-cueing in RGB mode.
- The screen z range [_z_n_e_a_r, _z_f_a_r] is mapped linearly into the RGB color
- range [ (_r_m_a_x,_g_m_a_x,_b_m_a_x), (_r_m_i_n,_g_m_i_n,_b_m_i_n) ]. Screen z values nearer
- than _z_n_e_a_r are mapped to (_r_m_a_x,_g_m_a_x,_b_m_a_x); screen z values farther than
- _z_f_a_r are mapped to (_r_m_i_n,_g_m_i_n,_b_m_i_n).
-
- The valid range for _z_n_e_a_r and _z_f_a_r depends on the state of the GLCZRA
- compatibility mode (see ggggllllccccoooommmmpppp). If it is 0, the valid range depends on
- the graphics hardware. When multisample is enabled, and multisample
- buffers exist in the current framebuffer configuration in the current
- drawmode, the minimum is the value returned by ggggeeeettttggggccccoooo((((GGGGCCCCMMMMZZZZMMMMIIII)))) and the
- maximum is the value returned by ggggeeeettttggggccccoooo((((GGGGCCCCMMMMZZZZMMMMAAAA)))). Otherwise, the minimum
- is the value returned by ggggeeeettttggggccccoooo((((GGGGCCCCZZZZMMMMIIIINNNN)))) and the maximum is the value
- returned by ggggeeeettttggggccccoooo((((GGGGCCCCZZZZMMMMAAAAXXXX)))). If the state of the GLCZRA compatibility
- mode is 1, the minimum is $0 and the maximum is $7FFFFF. _Z_n_e_a_r and _z_f_a_r
- should be chosen to be consistent with the _n_e_a_r and _f_a_r parameters passed
- to llllsssseeeettttddddeeee. If _n_e_a_r < _f_a_r, then _z_n_e_a_r should be less than _z_f_a_r. If
- _n_e_a_r > _f_a_r, then _z_n_e_a_r should be greater than _z_f_a_r. In either case, the
- range [_n_e_a_r, _f_a_r] should bound the range [_z_n_e_a_r, _z_f_a_r].
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- depthc, getgde, glcomp, lsetde
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- llllRRRRGGGGBBBBrrrraaaa((((3333GGGG)))) llllRRRRGGGGBBBBrrrraaaa((((3333GGGG))))
-
-
-
- NNNNOOOOTTTTEEEE
- When using this routine, you should always explicitly set the GLCZRA mode
- of ggggllllccccoooommmmpppp because its default is different on different models.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-